package com.jeff.cloud.sidecar;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.sidecar.EnableSidecar;

/**
 *
 * @EnableSidecar 是一个组合注解，
 * 整合了三个注解：@EnableCircuitBreaker、@EnableDiscoveryClient、@EnableZuulProxy
 * @author: jeff
 * @date: 2021/8/12 14:21
 */
@SpringBootApplication
@EnableSidecar
public class SidecarApplication {
    public static void main(String[] args) {
        SpringApplication.run(SidecarApplication.class,args);
    }
}
